from rest_framework.routers import DefaultRouter

from api.routes.porduct.views import ProductVeiwSet, AdminProductVeiwSet

router = DefaultRouter(trailing_slash=False)

router.register("products", ProductVeiwSet, basename="product")
router.register("admin/products", AdminProductVeiwSet, basename="product")

router.include_root_view = False

urlpatterns = router.urls
